package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "mall_delivery_man")
public class DeliveryMan implements Serializable {
    /**
     * 配送员ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 商铺id
     */
    private Long shopId;

    /**
     * 自提点名称
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 联系方式
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 详细地址
     */
    @TableField(value = "responsible_area")
    private String responsibleArea;

    /**
     * 1 可用,  0禁用, 2 注销
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 地区ID
     */
    private Long areaId;


    /**
     * 自提点费用
     */
    private Double price;

    /**
     * 0: 默认 1:vip配送地址
     */
    private Integer isVip;


    /**
     * 详细地址
     */
    @TableField(exist = false)
    private String addre;

    private static final long serialVersionUID = 1L;



}